Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove unsupported lifecycle field from default initContainer #412

Merged
merged 1 commit into from
Jul 11, 2024

Conversation

danialre
Copy link
Contributor

@danialre danialre commented Jul 3, 2024

Fixes: #411

This removes the lifecycle field from the default Nautobot initContainer, which causes an error in Helm. Lifecycle hooks are still applied to the default and other "nautobots" containers.

Copy link
Contributor

@gertzakis gertzakis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you for the PR 🥇

@gertzakis gertzakis merged commit 57043ab into nautobot:develop Jul 11, 2024
3 of 4 checks passed
@gertzakis gertzakis mentioned this pull request Jul 12, 2024
gertzakis added a commit that referenced this pull request Jul 12, 2024
* chore(deps): update pre-commit hook norwoodj/helm-docs to v1.14.2 (#413)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix: remove unsupported lifecycle field from default initContainer (#412)

* Fix nginx port mapping (#345)

* Use other port name when enabling nginx

* Revert "Use other port name when enabling nginx"

This reverts commit 908f4a9.

* Change target port when enabling nginx

* Use oneliner

* fix(deps): update dependency mkdocs-material to v9.5.28 (#401)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update docker.io/nginx/nginx-prometheus-exporter docker tag to v1.2.0 (#405)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update pre-commit hook streetsidesoftware/cspell-cli to v8.10.1 (#408)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update docker.io/nginxinc/nginx-unprivileged docker tag to v1.27 (#407)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update ghcr.io/nautobot/nautobot docker tag to v2.2.7 (#410)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update appany/helm-oci-chart-releaser action to v0.4.2 (#403)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Release 2.1.3 preparation (#414)

* chore(docs): update release notes

* chore: update dependencies and chart annotations

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Danial Ebling <danialre@xmission.com>
Co-authored-by: 2tefan <me@2tefan.eu>
gertzakis added a commit that referenced this pull request Aug 23, 2024
* chore(deps): update pre-commit hook norwoodj/helm-docs to v1.14.2 (#413)



* fix: remove unsupported lifecycle field from default initContainer (#412)

* Fix nginx port mapping (#345)

* Use other port name when enabling nginx

* Revert "Use other port name when enabling nginx"

This reverts commit 908f4a9.

* Change target port when enabling nginx

* Use oneliner

* fix(deps): update dependency mkdocs-material to v9.5.28 (#401)



* chore(deps): update docker.io/nginx/nginx-prometheus-exporter docker tag to v1.2.0 (#405)



* chore(deps): update pre-commit hook streetsidesoftware/cspell-cli to v8.10.1 (#408)



* chore(deps): update docker.io/nginxinc/nginx-unprivileged docker tag to v1.27 (#407)



* chore(deps): update ghcr.io/nautobot/nautobot docker tag to v2.2.7 (#410)



* chore(deps): update appany/helm-oci-chart-releaser action to v0.4.2 (#403)



* Release 2.1.3 preparation (#414)

* chore(docs): update release notes

* chore: update dependencies and chart annotations

---------

Co-authored-by: Jeremy White <jeremy.lee.w@me.com>
Co-authored-by: Uros Bajzelj <ubajze@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Danial Ebling <danialre@xmission.com>
Co-authored-by: 2tefan <me@2tefan.eu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error defining lifecycleHooks
2 participants